#define C_WDR			6
#define C_PDR			7
#define C_PAGES			8
#define C_PRINTER		9
#define C_PRVPDR		10
#define C_PRVINFO		0
#define C_PRVVIEW		1
#define C_PRVPAGE		2
#define C_PRVCOMM		3
#define C_PRVJUMP_DLG		4
#define C_PRVOPTIONS_DLG	5
#define C_LPRINTER		74

#define C_XPRINTER		6

#define O_WDR_INIT		1
#define O_WDR_COUNT_MODELS	2
#define O_WDR_SENSE_MODEL_NAME	3
#define O_WDR_SET_MODEL		4
#define O_WDR_SENSE_MODEL	5
#define O_WDR_TYPEFACE		6
#define O_WDR_SEARCH_TYPEFACE	7
#define O_WDR_FONT_HEIGHT	8
#define O_WDR_SEARCH_HEIGHT	9
#define O_WDR_GET_WIDTH_TABLE	10
#define O_WDR_SENSE_WIDTH	11
#define O_WDR_TWIPS_TO_XY	12
#define O_WDR_OPEN_PRINT	13
#define O_WDR_LOAD_RECORD	14

#define O_PDR_INIT		1
#define O_PDR_PRINT		2
#define O_PDR_ADD_COMMAND	3
#define O_PDR_DESTROY		4
#define O_PDR_START		5
#define O_PDR_END		6
#define O_PDR_PAGE		7
#define O_PDR_TEXT		8
#define O_PDR_LINE		9
#define O_PDR_RIGHT		10
#define O_PDR_FONT		11
#define O_PDR_STYLE		12

#define O_LPR_INIT		1
#define O_LPR_READ		2
#define O_LPR_SENSE_BUF_WIDTH	3
#define O_LPR_SENSE_TEXT	4
#define O_LPR_PRINT_COMMAND	5

#define O_PRINTING_SET_TITLE	35
#define O_PRINTING_DO_PRINT	36
#define O_PRINTING_DONE		37

#define O_PR_INIT		1
#define O_PR_STORE_SRCHAR	2
#define O_PR_STORE_FILE		3
#define O_PR_SET_PORT_TYPE	4
#define O_PR_SET_MODEL		5
#define O_PR_GET_DATA		6
#define O_PR_PORT_DATA		6
#define O_PR_SENSE_PORT		7
#define O_PR_SENSE_MODEL	8
#define O_PR_GET_PARAMS		9
#define O_PR_SET_HD		10
#define O_PR_GET_HD		11
#define O_PR_OPEN_WDR		12
#define O_PR_CLOSE_WDR		13
#define O_PR_OPEN_PORT		14
#define O_PR_PRINT		15
#define O_PR_PAGINATE		16
#define O_PR_PREVIEW_START	17
#define O_PR_PREVIEW		18
#define O_PR_PREVIEW_END	19
#define O_PR_PREVIEW_DATA	20

#define O_PVC_PREVIEW_PRINT	8
#define O_PVC_PREVIEW_MARGINS	9
#define O_PVC_PREVIEW_OPTIONS	10
#define O_PVC_PREVIEW_JUMP	11
#define O_PVC_PREVIEW_EXIT	12

#define O_PVP_MARGINS		14

#define O_PVV_DONE		14
#define O_PVV_PAGES_DONE	15
#define O_PVV_NEW_PAGE		16
#define O_PVV_MARGINS		17
#define O_PVV_INIT		18
#define O_PVV_FALSE		19

